return COGL_INVALID_HANDLE;
pixbuf = gtk_icon_info_load_icon (info, NULL);
- gtk_icon_info_free (info);
+ g_object_unref (info);
if (pixbuf == NULL)
return COGL_INVALID_HANDLE;
if (data->icon_info)
{
- gtk_icon_info_free (data->icon_info);
+ g_object_unref (data->icon_info);
if (data->colors)
st_icon_colors_unref (data->colors);
}
if (ensure_request (cache, key, policy, &request, texture))
{
/* If there's an outstanding request, we've just added ourselves to it */
- gtk_icon_info_free (info);
+ g_object_unref (info);
g_free (key);
}
else